package cloud.xiguapi.ubas.mapper;

import cloud.xiguapi.ubas.entity.ChannelMarketing;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Select;

/**
 * @author 大大大西西瓜皮🍉
 * date: 2021-5-20 下午 06:28
 * desc:
 */
public interface ChannelMarketingMapper extends BaseMapper<ChannelMarketing> {

    @Select("select channel, window_end, cnt from channel_marketing cm")
    IPage<ChannelMarketing> selectPage(Page<ChannelMarketing> page);
}
